package org.example.test_03.Service;

import org.example.test_03.Domian.Ad;
import org.example.test_03.Domian.ReturnData;

/**
 * @Author lands
 * @Date 2024/8/14 10:33
 * @Description TODO
 */
public interface AdService {
    ReturnData delete(int id);

    ReturnData select(String name, String content);

    ReturnData addAd(Ad ad);

    ReturnData updateAd(Ad ad);
}
